package com.example.msb.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping(value = "test")
public class TestController {

    @RequestMapping(value = "/index")
    public String TestIndex(){
        return "index";
    }

    @ResponseBody
    @RequestMapping(value = "/testJson")
    public String TestJson(){
        return "Json";
    }
}
